import wangyiRequest from '../utils/wangyiRequest'

// export type BannerData = {
//   checkNavType: boolean
//   navList: navListData[]
//   delNavId:null
// }

// export type resData = {
//   code: number
//   data: BannerData
// }

// export interface navListData{
//   id:number
//   picUrl:string
//   mainTitle:string
//   viceTitle:string
//   columnUrl:string
//   onlineType:boolean
//   vaildStartTime:number
//   vaildEndTime:number
//   rank:number
// }

export const getBannerList = () => {
  return wangyiRequest.get('/topic/v1/know/navWap.json')
}
